#include "../apue.h"

void _setbuf(FILE * restrict fp, char * restrict buf)
{
    if (NULL == buf)
        setvbuf(fp, NULL, _IONBF, 0);
    else
        setvbuf(fp, buf, _IOFBF, BUFSIZ);
}
